package com.xs.langchain4j_springboot.mapper;

import com.xs.langchain4j_springboot.entity.ChatMemory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChatMemoryMapper {

    List<ChatMemory> selectByUserId(String userId);

    void insert(ChatMemory record);

    void deleteByUserId(String userId);
}
